The original data is shown in Figure 1.
The effect of the replacement is shown in Figure 2.
First step, formatting replacement tags
Objective: To replace the space between the idioms with the paragraph mark, so as to
Definition and usage The replace () method is used to replace other characters with some characters in a string, or replace a substring that matches a regular expression.Syntax StringObject. replace (regexp, replacement)Parameter descriptionRegexp
This article combines a large number of articles related to SQL replace into and focuses their usage and advantages in this article. If you need some commands, you can take a closer look.
The following is a more detailed description of the algorithm
In addition to directly configuring variables to modify the original content, is there a way to fine-tune the content of variables through simple actions? For example, you can delete, replace, and replace variable content! Yes! We can fine-tune the
Meaning of "modal verb +have+ done"1, must has the meaning of done. "Must have+ past participle" means speculation in the past, meaning "must have been, presumably already, must have been ...", only used in affirmative sentences. For example:The
Document directory
JavaScript indexOf () method
JavaScript substring () method
JavaScript split () method
JavaScript replace () method
JavaScript indexOf () method definition and usage
The indexOf () method returns the position of the first
Author: one Leaf
In the use of WPS is often used in the "Find and replace", for some simple search and replacement may be a lot of people know how to do, but in the face of some more complex to find and replace, it can not. For simple "Find and
Definition and UsageThe replace () method is used to replace other characters with some characters in a string, or to replace a substring that matches a regular expression.Stringobject.replace (regexp/substr,replacement)
Parameters
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.